
<html>
<head>
<title>发布公告</title>
<script language="JavaScript" src="include/js/tjCommon.js"></script>
<link rel="stylesheet" href="include/css/default.css" type="text/css">
<script>
  function doClear(){ 
	var container = document.forms[0];
	var temp ;
	for( i=0; i<container.length; i++)
	{
	  temp = container.elements(i);
	  if(temp.type == "select-one")
	    temp.selectedIndex = 0;
	  if(temp.type == "text")
	    temp.value="";
   	}
  }
</script>
</head>
<body class="main">
<script language="javascript">
function click() {
  if (event.button==2) { 
   alert('禁止使用鼠标右键!')
  }
}
document.onmousedown=click
</script> 
<form name="bulletinForm" method="get" action="bulletin.do">
<table align="center" cellspacing="1" class=table01>
  <tr>
    <td colspan="2" align="center" class=table_title>发布公告</td>
  </tr>
  <tr>
    <td width="20%" align="center" class=td_title>标题</td>
    <td class=td_content>
		<span class="td_Content">
			<input type="text" name="corporation2" size="50" value="" class="input">
		</span>
	</td>
  </tr>

  <tr>
    <td class=td_title >公告来源</td>
    <td class=td_content >
		<span class="td_Content">
		<input type="text" name="source" size="20" value="" class="input">
		</span>
	</td>
  </tr>
  <tr>
    <td class=td_title >发布人</td>
    <td class=td_content ><span class="td_Content">
      <input type="text" name="corporation" size="50" value="" class="input">
    </span></td>
  </tr>
  <tr>
    <td class=td_title >保密级别</td>
    <td class=td_content ><span class="td_Content">
      <select name="select" size="1">
        <option value="0">------请选择------</option>
      </select>
    </span></td>
  </tr>
  <tr>
    <td class=td_title >发布内容</td>
    <td class=td_content >
	
	  				<input type="hidden" name="content">
					<script type="text/javascript" src="include/js/KindEditor.js"></script>
					<script type="text/javascript">
						var editor = new KindEditor("editor");
						editor.hiddenName = "content";
						editor.editorType = "full";
						editor.imageUploadCgi = "./uploadServlet";
						editor.skinPath = "skins/default/";
						editor.iconPath = "icons/";
						editor.editorWidth = "600px";
						editor.editorHeight = "300px";
						editor.show();
						function KindSubmit() {
							editor.data();
							var form1=document.getElementById("bulletinForm");
							form1.submit();
						}
					</script>	</td>
  </tr>
  
  <tr>
    <td colspan="2" align="center" class=td_title>
      <input name="button" type="button" class="button1" onclick='KindSubmit();' value="发布">
      <input name="button" type="button" class="button1" onclick='doClear();' value="清空">
    </td>
  </tr>
</table>
</form>
</body>
</html>
